GtkMenuItem: fix display of accelerators
authorMatthias Clasen <mclasen@redhat.com>
Sun, 20 Jul 2014 04:12:40 +0000 (00:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 20 Jul 2014 04:12:40 +0000 (00:12 -0400)
commitcaa47b2ef4d44e7e36398324035cabb1471a389e
treefb9ea25993be018b18d46bc5120beb9eb1f4507b
parentd6d424f920db338be426e18e2991419f5e5944f3
GtkMenuItem: fix display of accelerators

The accel label in menus was getting a small allocation that
caused its draw code to always omit the accelerator string.
Fix that by setting halign to fill. To keep the menu label
left-aligned, set xalign to 0 to compensate.
gtk/gtkmenuitem.c